		<ol class="breadcrumb">
		  <li><a href="/user_cates/mine"><i class="fa fa-info-circle"></i>&nbsp;&nbsp;用户分类管理</a></li>
		  <li class="active">新增分类</li>
		</ol>           
       <hr>

		{{$this->Form->create('WxCityCate',array('class'=>'form-horizontal','role'=>'form'))}}
			<div class="form-group">
				<label class="col-sm-2 control-label" for="UserCateParentId">分类</label>
				<div class="col-sm-9 controls">
					{{$this->Form->input('cate_id',array('class'=>'form-control','div'=>false,'label'=>false))}}
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label" for="UserCateName">城市编号</label>
				<div class="col-sm-9 controls">
					{{$this->Form->hidden('id')}}
					{{$this->Form->hidden('model',array('value'=>$cate_model))}}
					{{$this->Form->input('city_id',array('class'=>'form-control','div'=>false,'label'=>false))}}
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label" for="UserCateCoverimg">封面图片</label>
				<div class="col-sm-9 controls select">
					{{$this->Swfupload->load('coverimg',array(
						'label'=>false,'modelClass'=>'WxCityCate',
						'no_db'=>1,'upload_limit'=>1,
						'file_types'=> '*.jpg;*.gif;*.png;*.bmp',
						'isadmin'=>false
					))}}
				</div>
			</div>
	
			<div class="form-group">
				<label class="col-sm-2 control-label"></label>
				<div class="col-sm-9"><input class="btn btn-primary" type="submit" value="提交"></div>
			</div>
		{{$this->Form->end()}}